﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;

namespace BeanOverflow.Models
{
    /**
     * QuestionAndResponsesModel is a model that as the name suggest groups a question with its respective answers (if any)
     * */
    
    public class QuestionAndResponsesModel
    {
        //Question
        public Question Question{get;set;}
        //set of exeisting responses
        public IEnumerable<BeanOverflow.Models.Response> Responses { get; set; }
        //potentially new response.
        public BeanOverflow.Models.Response NewResponse { get; set; }
    }
   
}